home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Complete Linux
/
Complete Linux.iso
/
docs
/
apps
/
circuits
/
spice2g6.z
/
spice2g6
/
spice
/
Fortran
/
cmult.f
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1989-02-03
|
299 b
|
12 lines
subroutine cmult(xr,xi,yr,yi,cr,ci)
c.. ok if cr and ci are really xr and xi or yr and yi
implicit double precision (a-h,o-z)
xrtemp=xr
xitemp=xi
yrtemp=yr
yitemp=yi
cr=xrtemp*yrtemp-xitemp*yitemp
ci=xitemp*yrtemp+xrtemp*yitemp
return
end